<template>
    <Grid :col="1" :border="false" padding="5px">
        <GridItem>
            <Button icon="md-add-circle" type="primary" v-auth:advert:add @click="$emit('add-advert')"
                style="margin-right: 5px;">添加广告</Button>
            <Button icon="ios-remove-circle-outline" v-auth:advert:batch:remove type="error" @click="$emit('batch-remove')"
                style="margin-right: 5px;">批量删除</Button>
        </GridItem>
    </Grid>
</template>

<script setup>
const emits = defineEmits(["add-advert", "batch-remove"])
</script>